Fix problems with state propagation
authorMatthias Clasen <mclasen@redhat.com>
Mon, 7 Feb 2011 16:23:43 +0000 (11:23 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 7 Feb 2011 16:27:50 +0000 (11:27 -0500)
commit23f9bdd586e0b0aac11d9fbcaeaf81c056d2a036
tree0cc2a58efd26c9a445c778ffc59e492f217a144b
parent1c20c93423069c8805cf61381486cbdf607f6efd
Fix problems with state propagation

Sensitivity changes were not properly propagated down the
hierarchy. There were two issues here:

a) correctly identifying when a state change request affects
   sensitivity
b) not filtering out sensitivity in gtk_widget_propagate_state(),
  since gtk_widget_set_sensitivity() uses that to do its work

https://bugzilla.gnome.org/show_bug.cgi?id=641431
gtk/gtkwidget.c